package com.org.khtn.command;

import java.util.Map;
import java.util.Vector;

import com.google.common.collect.Multimap;
import com.org.khtn.data.DataTables;


public class MyQuery {
	protected DataTables dt;
	protected String query;
	protected MyParse parse;
	protected String[] key;
	protected Vector table;
	protected String databaseName;
	public boolean tableExist(String tableName) {
		if (tableName == null)
			return false;
		int length = table.size();
		for (int i = 0; i < length; i++) {
			String tam = (String) table.get(i);
			if (tam.equalsIgnoreCase(tableName))
				return true;

		}
		return false;
	}
	public int executeNonQuery()
	{
		return -1; 
	}
	public Map<String,Multimap<String,String>> executeReader()
	{
		return null;
	}


}
